package net.betou.cms.manager.assist;

import java.util.Collection;

import net.betou.cms.entity.assist.CmsVoteItem;
import net.betou.cms.entity.assist.CmsVoteSubTopic;
import net.betou.common.page.Pagination;

public interface CmsVoteItemMng{
	public Pagination getPage( int pageNo, int pageSize );

	public CmsVoteItem findById( Integer id );

	public Collection< CmsVoteItem > save( Collection< CmsVoteItem > items, CmsVoteSubTopic topic );

	public Collection< CmsVoteItem > update( Collection< CmsVoteItem > items, CmsVoteSubTopic topic );

	public CmsVoteItem deleteById( Integer id );

	public CmsVoteItem [ ] deleteByIds( Integer [ ] ids );

}